#include "LoadState.h"
#include "LoadLevel.h"
#include "ReportError.h"
#include "Game.h"
#include "MainGameState.h"

void LoadState::Draw()
{

}

void LoadState::Update()
{

}

void LoadState::OnActivated()
{
	if (!LoadLevel("GameObjects.txt"))
	{
		ReportError("Level1.txt Was Not Found!");
	}
	GameState::OnActivated();
	TheGame::Instance()->SetGameState(TheMainGameState::Instance());
}